<template>
    <div class="home">
        孙:{{ a }} {{ $attrs}}
        <button @click="updataA">点击更新a</button>
    </div>
</template>


<script setup lang="ts" name = "Page51sun">
import { ref} from 'vue';
   
defineProps(['a','updataA'])

</script>

<style lang="scss" scoped>

</style>